package com.guigu.tms.commons.aggregation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 线路类型表
 * </p>
 *
 * @author wj
 * @since 2022-10-21
 */
@TableName("pd_transport_line_type")
public class TransportLineType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 线路类型名称
     */
    private String name;

    /**
     * 线路类型编号
     */
    private String typeNumber;

    /**
     * 起始地机构类型
     */
    private Integer startAgencyType;

    /**
     * 目的地机构类型
     */
    private Integer endAgencyType;

    /**
     * 最后更新时间
     */
    private LocalDateTime lastUpdateTime;

    /**
     * 最后更新人
     */
    private String updater;

    /**
     * 状态  0：禁用   1：正常
     */
    private Integer status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getTypeNumber() {
        return typeNumber;
    }

    public void setTypeNumber(String typeNumber) {
        this.typeNumber = typeNumber;
    }
    public Integer getStartAgencyType() {
        return startAgencyType;
    }

    public void setStartAgencyType(Integer startAgencyType) {
        this.startAgencyType = startAgencyType;
    }
    public Integer getEndAgencyType() {
        return endAgencyType;
    }

    public void setEndAgencyType(Integer endAgencyType) {
        this.endAgencyType = endAgencyType;
    }
    public LocalDateTime getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(LocalDateTime lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TransportLineType{" +
            "id=" + id +
            ", name=" + name +
            ", typeNumber=" + typeNumber +
            ", startAgencyType=" + startAgencyType +
            ", endAgencyType=" + endAgencyType +
            ", lastUpdateTime=" + lastUpdateTime +
            ", updater=" + updater +
            ", status=" + status +
        "}";
    }
}
